package response

import (
	"server/model"
)

type SysUserResponse struct {
	User *model.SysUser `json:"user"`
}

type LoginResponse struct {
	User      *model.SysUser `json:"user"`
	Token     string        `json:"token"`
	ExpiresAt int64         `json:"expires_at"`
}

type PageResult struct {
	List     interface{} `json:"list"`
	Total    int64       `json:"total"`
	Page     int         `json:"page"`
	PageSize int         `json:"page_size"`
}
